package test;

import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Component;

@Component
public class Truck implements  Car{
    @Qualifier("stone")
    public void drive(){
        System.out.println("司机开着卡车");
    }
}
